<!-- inc:frame.top -->

<div class="position"><p><!-- inc:position --> &raquo; <a href="{:$mainlink}?file=system&act=set">系统设置</a> &raquo; <a href="{:$mainlink}?file=tpldomain&act=list">域名绑定</a> &raquo; <!-- if($act=="add") -->添加绑定<!-- elseif($act=="modify") -->修改绑定<!-- end --></p><!-- inc:position.fr --></div>

<div class="page_pad">
  <form method="post" action="{:$mainlink}?file=tpldomain&act=setok" onsubmit="return chkset(this)">
  <input type="hidden" name="id" value="{:$id}" />
  <div class="content_box">
    <div class="content_bor">
      <table class="ctable">
        <tr>
          <td class="left">语言版本：</td>
          <td class="right">
            <select name="tplid">
              <!-- $tplist AS $key=>$value -->
              <option value="{:$value[id]}" {if($value[id]==$rs[tplid])}selected="selected"{end}>{:$value[name]}</option>
              <!-- end -->
            </select>
          </td>
        </tr>
        <tr>
          <td class="left">域名：<span style="color:red;">*</span></td>
          <td class="right">
            <input class="ginput" type="text" name="domain" value="{:$rs[domain]}" />
            &nbsp;
            <span>[头部不要带http://，尾部不带/，例如：www.sy118.com]</span>
          </td>
         </tr>
      </table>
    </div>
  </div><!--content_box-->
  
  <div class="gbutton_div"><button type="submit" class="gbutton gbutton_dblue gbutton_add">保存信息</button> <button type="button" class="gbutton gbutton_add" onclick="qgurl('{:$mainlink}?file=tpldomain')">返回</button></div>
  </form>
</div><!--page_pad-->

<script>
function chkset(o)
{
	if(!o.domain.value)
	{
		tip_msg("域名不能为空！");
		return false;
	}
}
</script>

<!-- inc:frame.bottom -->